package com.myhome.entity;
import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.junit.jupiter.params.shadow.com.univocity.parsers.annotations.Format;

/**
 * <p>
 * 
 * </p>
 *
 * @author jobob
 * @since 2021-09-04
 */
@Data
@Setter
@Getter
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_position")
public class Position implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 职位
     */
    @Excel(name = "职位")
    private String name;

    /**
     * 创建时间
     */

    @ApiParam(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/Shanghai")
    private LocalDateTime createDate;

    /**
     * 是否启用
     */
    private Boolean enabled;


}
